Class: com.microstrategy.web.app.taglibs.ValueTag
Usage:
This tag retrieves the value of the a preference or a configuration parameter or an enumeration or from the request keys.<web:value type="enum" name="com.microstrategy.web.app.utils.ExpressionHelper.ITEM_SEPARATOR" />In other cases, developers may want to use the value tag in conjunction with other HTML tags to generate dynamic output. For example, the following snippet would generate an anchor tag where the “HREF” attribute would be set to the name of the Admin Servlet:
<A <web:value name="adminServletDeploymentName" type="config" attribute="HREF" /> >[Go to the Web Administrator]</A>
Name | Required? | Description |
attribute | false | Sets the value assigned to the attribute attribute of the custom tag instance that uses this helper |
name | true | Indicates the name of the variable whose value we are supposed to render. If the type attribute is set to 'misc', the valid values for this attribute include: |
postContent | false | Sets the value assigned to appear after the value of this tag |
preContent | false | Sets the value assigned to appear before the value of this tag |
type | true | Indicates the type of the variable whose value we are supposed to render. The list of valid values for this attribute include: RequestKeys instance available
BrowserSettings instance available
Preferences instance available for System Preferences
Preferences instance available for User Preferences
|